package com.dz.finance.common.constant;

/**
 * @author: DengHaoQi
 * @date: 2024/5/26 21:55
 * @description:
 */
public class SystemConstant {

    // 验证码发送周期 60秒
    public static final int CODE_SENDING_CYCLE = 60;

    /*
    * 缓存的用户key名称
    * */
    public static final String USER_CACHE_KEY = "USER:";

    public static final String TOKEN_CACHE_KEY = "TOKEN:";

    public static final String UTF8 = "UTF-8";
    public static final String GBK = "GBK";


    /**
     * 角色菜单权限
     */
    public static final String ROLE_MENU_PERMISSIONS = "ROLE_MENU_PERMISSIONS:";

    /**
     * 角色资源权限
     */
    public static final String ROLE_RESOURCE_PERMISSIONS = "ROLE_RESOURCE_PERMISSIONS:";

    /**
     * 管理员
     */
    public static final Long ROLE_ADMIN = 1L;
    /**
     * 普通会员
     */
    public static final Long ROLE_MEMBER = 2L;
}
